Inheritance diagram for IMFPart:

Public Member Functions | |
| virtual boolean MCCOMAPI | SetWantsToValidateCaches ()=0 |
| virtual void MCCOMAPI | SelfDraw (IMCGraphicContext *inGraphicContext, const TMCRect &inUpdateBBox)=0 |
| virtual TMFEventResult MCCOMAPI | SelfMouseDown (const TMCPoint &inWhere, const TMCPlatformEvent &inEvent)=0 |
| virtual void MCCOMAPI | Enable (boolean beEnabled)=0 |
| virtual void MCCOMAPI | Invalidate ()=0 |
| virtual void MCCOMAPI | Invalidate (const TMCRect &invalRect)=0 |
| virtual void MCCOMAPI | ProcessUpdates (const TMCRect &inUpdateRect=TMCRect::kInvalid)=0 |
| virtual void MCCOMAPI | ProcessUpdatesPart (void)=0 |
| virtual MCCOMErr MCCOMAPI | FindChildPartByID (IMFPart **outPart, uint32 inPartID) const =0 |
| virtual void MCCOMAPI | FindChildParts (const TMCArray< TPartFindingInfo > &inPartArray) const =0 |
| virtual void MCCOMAPI | AddChildIMFPart (IMFPart *inPart)=0 |
| virtual void MCCOMAPI | RemoveFromParent ()=0 |
| virtual SystWindowPtr MCCOMAPI | GetSystemWindowPtr ()=0 |
| virtual void MCCOMAPI | GetNonBufferedGraphicContext (IMCGraphicContext **outContext)=0 |
| virtual IMFPart *MCCOMAPI | GetPartParent () const =0 |
| virtual MCCOMErr MCCOMAPI | GetPartParent (IMFPart **outPart) const =0 |
| virtual MCCOMErr MCCOMAPI | GetPartParentWindow (IMFPart **outPart)=0 |
| virtual MCCOMErr MCCOMAPI | GetPartBaseWindow (IMFPart **outPart)=0 |
| virtual IMFWindow *MCCOMAPI | GetPartBaseWindowNoAddRef ()=0 |
| virtual void MCCOMAPI | GetSize (TMCPoint &ioSize) const =0 |
| virtual IDType MCCOMAPI | GetIMFPartID (void) const =0 |
| virtual boolean MCCOMAPI | GetActive (void) const =0 |
| virtual void MCCOMAPI | GetPositionInWindow (TMCPoint &ioPosition) const =0 |
| virtual void MCCOMAPI | GetPositionInParent (TMCPoint &ioPosition) const =0 |
| virtual void MCCOMAPI | GetPositionInLocal (TMCPoint &ioPosition) const =0 |
| virtual void MCCOMAPI | GetBoundsInParent (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetBoundsInWindow (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetBoundsInLocal (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetClipBoundsInLocal (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetClipBoundsInParent (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetClipBoundsInWindow (TMCRect &ioBounds) const =0 |
| virtual void MCCOMAPI | GetChildPartsBounds (TMCRect &outBounds) const =0 |
| virtual void MCCOMAPI | SetSize (const TMCPoint &inSize, boolean inInvalidate, boolean inNotify)=0 |
| virtual void MCCOMAPI | SetPositionInParent (const TMCPoint &inPosition, boolean inInvalidate, boolean inNotify)=0 |
| virtual void MCCOMAPI | SetBoundsInParent (const TMCRect &inBounds, boolean invalidate=true, boolean notify=false)=0 |
| virtual void MCCOMAPI | SwapOrientation (boolean inHorizontal)=0 |
| virtual void MCCOMAPI | GetValue (void *outValue, MFPartValueType inValueType) const =0 |
| virtual void MCCOMAPI | SetValue (const void *inValue, MFPartValueType inValueType, boolean inInvalidate, boolean inNotify)=0 |
| virtual void MCCOMAPI | SetShown (boolean inShown, boolean setChilds=false)=0 |
| virtual boolean MCCOMAPI | IsShowing () const =0 |
| virtual void MCCOMAPI | SetPartID (MFPartID inPartID)=0 |
| virtual void MCCOMAPI | SetCursorID (MFCursorID inCursorID)=0 |
| virtual void MCCOMAPI | SetCursor (MFCursorID inCursorID)=0 |
| virtual void MCCOMAPI | SetEraseBack (boolean inEraseBack)=0 |
| virtual void MCCOMAPI | SetMustFullyInvalidate (boolean inMust)=0 |
| virtual void MCCOMAPI | SetExcludeFromDoubleBuffer (boolean inExclude)=0 |
| virtual void MCCOMAPI | SetWantsVisibleRegion (boolean inWantsVisibleRegion)=0 |
| virtual void MCCOMAPI | SelfMouseEntering (const TMCPoint &inWhere, const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfMouseStillInside (const TMCPoint &inWhere, const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfMouseLeaving (const TMCModifiers &inModifiers)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropEntering (const TMCPoint &inWhere, const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropStillInside (const TMCPoint &inWhere, const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual void MCCOMAPI | SelfTrackDragAndDropLeaving (const TMFDragFlavors &inOfferedTypeList)=0 |
| virtual void MCCOMAPI | BindGraphicContext (IMCGraphicContext *drawContext=nil)=0 |
| virtual void MCCOMAPI | BindNonBufferedGraphicContext (IMCGraphicContext *drawContext)=0 |
| virtual void MCCOMAPI | ClipContextToPart (IMCGraphicContext *drawContext=nil)=0 |
| virtual TMCArray< TMCRect > *MCCOMAPI | GetVisibleRectsInWindow (boolean fullyVisibleOnly=true)=0 |
| virtual void MCCOMAPI | ImmediateUpdate (boolean useDoubleBuffer=false, const TMCRect *inBounds=nil)=0 |
| virtual void MCCOMAPI | CallPrepareToDestroy ()=0 |
| virtual void MCCOMAPI | LocalToParent (TMCPoint &ioParentPoint) const =0 |
| virtual void MCCOMAPI | LocalToParent (TMCRect &ioParentRect) const =0 |
| virtual void MCCOMAPI | LocalToWindow (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | LocalToWindow (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | LocalToBaseWindow (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | LocalToBaseWindow (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | LocalToScreen (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | LocalToScreen (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | ParentToLocal (TMCPoint &ioParentPoint) const =0 |
| virtual void MCCOMAPI | ParentToLocal (TMCRect &ioParentRect) const =0 |
| virtual void MCCOMAPI | WindowToLocal (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | WindowToLocal (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | BaseWindowToLocal (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | BaseWindowToLocal (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | ScreenToLocal (TMCPoint &ioWindowPoint) const =0 |
| virtual void MCCOMAPI | ScreenToLocal (TMCRect &ioWindowRect) const =0 |
| virtual void MCCOMAPI | SetIsOpaque (boolean isOpaque)=0 |
| virtual void MCCOMAPI | SetTextStyle (ETextStyle inTextStyle, const TMCString &inFontName, uint16 inSize, uint16 inFace)=0 |
| virtual void MCCOMAPI | GetTextStyle (ETextStyle &outTextStyle, TMCString &outFontName, uint16 &outSize, uint16 &outFace)=0 |
| virtual const TMCString *MCCOMAPI | GetWebLink () const =0 |
| virtual void MCCOMAPI | SetWebLink (const TMCString &inLink)=0 |
| virtual void MCCOMAPI | SetIMFPartID (IDType partID)=0 |
| virtual void MCCOMAPI | SetAttribute (const IMFAttribute &inAttribute)=0 |
| virtual void MCCOMAPI | GetAttribute (IMFAttribute &outAttribute)=0 |
| virtual void MCCOMAPI | ResignAsResponder ()=0 |
| virtual SystemGCPtr MCCOMAPI | GetSystemDeviceContextPtr (void)=0 |
| virtual IMFPart *MCCOMAPI | FindParentPartByID (uint32 inPartID) const =0 |
| virtual TComponentClass *MCCOMAPI | GetCursorID (const TMCPoint &inWhere, MFCursorID &outCursorID) const =0 |
| virtual IMFResponder *MCCOMAPI | GetThisResponder ()=0 |
| virtual IMFPart *MCCOMAPI | FindChildPartByID (IDType inPartID) const =0 |
| virtual void MCCOMAPI | SetOpacityKind (EOpacityKind inOpacityKind)=0 |
| virtual boolean MCCOMAPI | IsChildOf (const IMFPart *inPart) const =0 |
Parts are organized in a tree structure, with children considered to be inside their parent.
|
|
Adds a Part as a child of this Part.
|
|
|
Converts a TMCRect from base window to local coordinate space
|
|
|
Converts a TMCPoint from base window to local coordinate space
|
|
|
Sets up the passed-in graphic context to operate within the Part.
|
|
|
Same as BindGraphicContext but specific to Non Buffered Graphic Context.
|
|
|
Call this function before destroying a Part, either manually or by letting its refcount go to 0. It unregisters the Part as a responder and otherwise unhooks it from the UI. |
|
|
Clips the passed-in graphic context to this Part's bounds. If no context is passed in, expands clip area of the view's current graphic context to enclose the view's clip rectangle. (See GetClipBoundsInWindow)
|
|
|
Sets the enabled state of the Part.
|
|
|
Finds a child Part of the current Part by ID, and returns it without incrementing the child's refcount.
|
|
||||||||||||
|
Locates a child Part of this Part by its ID value, if it exists.
|
|
|
Finds several child parts at the same time
|
|
|
Searches the hierarchy of Parts upwards from this Part, looking for a parent Part with a given ID.
|
|
|
|
|
|
Gets the Attribute of the Part. This is used to get several properties of the Part, with some type checking. Note: This is currently only implemented by slider parts.
|
|
|
Returns the bounds of the Part in local coordinate space.
|
|
|
Returns the bounds of the Part in parent coordinate space.
|
|
|
Returns the bounds of the part in window coordinate space.
|
|
|
Get the rectangle that bounds all of this Part's child Parts, in coordinates local to this Part
|
|
|
Returns the Part clipping bounds in local coordinate space.
|
|
|
Returns the Part clipping bounds in parent coordinate space.
|
|
|
Returns the Part clipping bounds in window coordinate space.
|
|
||||||||||||
|
Returns the Identifier of the cursor that should be used when the mouse pointer is over the part.
|
|
|
Accessor for this Part's ID
|
|
|
Gets a pointer to the Graphic Context to be used to draw in this Part's system window.
|
|
|
Gets the window containing this Part.
|
|
|
Gets the window containing this Part without increasing the window's reference count.
|
|
|
|
|
|
|
|
|
Gets the topmost window (will be the desktop window in a windoid based system)
|
|
|
Returns the postion of the Part in local coordinate space.
|
|
|
Returns the postion of the Part in parent coordinate space.
|
|
|
Returns the postion of the Part in window coordinate space.
|
|
|
Accessor for the size of a given Part in pixels.
|
|
|
Returns the device context associated with the window returned by GetSystemWindowPtr()
|
|
|
|
|
||||||||||||||||||||
|
Gets the Part's text style.
|
|
|
A Part is always a Responder, so this method returns a pointer to the IMFResponder interface of the Part.
|
|
||||||||||||
|
GetValue is used to access a value associated with the Part. It does not free resources if outValue contains a previous value.
|
|
|
Creates and returns a TMCArray<TMCRect> which describe the visible rectangles in the parent window
|
|
|
Returns the url associated with a part, null if there is none |
|
||||||||||||
|
Immediately causes a redraw of this Part. Use this sparingly - only when constant redraw and interactivity are needed. Otherwise, just Invalidate.
|
|
|
Invalidates a portion of the Part, so it will be redrawn on the next UI redraw.
|
|
|
Invalidates the Part, so it will be redrawn on the next UI redraw. |
|
|
Given a Part, determines if this Part is a child of the given Part. If it is the same part, it returns true.
|
|
|
|
|
|
Converts a TMCRect from local to base window coordinate space
|
|
|
Converts a TMCPoint from local to base window coordinate space
|
|
|
Converts a TMCRect from local to parent coordinate space
|
|
|
Converts a TMCPoint from local to parent coordinate space
|
|
|
Converts a TMCRect from local to screen/global coordinate space
|
|
|
Converts a TMCPoint from local to screen/global coordinate space
|
|
|
Converts a TMCRect from local to window coordinate space
|
|
|
Converts a TMCPoint from local to window coordinate space
|
|
|
Converts a TMCRect from parent to local coordinate space
|
|
|
Converts a TMCPoint from parent to local coordinate space
|
|
|
Call when you need to process updates in the platform window that contains this Part.
|
|
|
Call when you need to process updates only on the Part's sub-rect in the platform window that contains this Part. |
|
|
Removes this Part as child of its parent Part. |
|
|
If this Part is the first responder, sets the first responder to be this Part's base window. If this Part is the first window responder of its base window, sets the first windor responder to the window
|
|
|
Converts a TMCRect from screen/global to local coordinate space
|
|
|
Converts a TMCPoint from screen/global to local coordinate space
|
|
||||||||||||
|
Draws the part (use this if in a part extension you want the part (not the extension) to draw itself).
|
|
||||||||||||
|
Handles a mouse down event within the Part's bounds (use this if in a part extension you want the part (not the extension) to handle the mouse down).
|
|
||||||||||||
|
Function called when the mouse enters the Part. Use when the Part needs to handle mouseovers, for example to change appearance when the mouse is over it.
|
|
|
Function called when the mouse leaves the Part. Use when the Part needs to handle mouseovers, for example to change appearance when the mouse is over it.
|
|
||||||||||||
|
Function called when the mouse tracks within the Part.
|
|
||||||||||||
|
Function called when the mouse enters the Part during a drag and drop.
|
|
|
Function called when the mouse leaves the Part during a drag and drop.
|
|
||||||||||||
|
Function called when the mouse track within the Part during a drag and drop.
|
|
|
Sets the Attribute of the Part. This is used to set several properties of the Part, with some type checking. Note: This is currently only implemented by slider parts.
|
|
||||||||||||||||
|
Sets the size and position of the Part in parent coordinate space. This function does NOT take size and position constraints into account.
|
|
|
Sets the Cursor ID to use when the mouse is in the Part, and changes the cursor to that ID immediately.
|
|
|
Sets the Cursor ID to use when the mouse is in the Part.
|
|
|
Sets whether or not to erase the background behind the Part before drawing the Part.
|
|
|
Sets whether or not to exclude this Part from double buffering.
|
|
|
Sets the Part ID. This function is identical to SetPartID, and should not be called. It may be removed in future versions of the SDK.
|
|
|
Sets the overall opacity of the Part over its full bounds.
|
|
|
Sets whether or not we can optimize by only invalidating the new boundaries of the Part when resizing or moving the Part.
|
|
|
Sets the type of opacity used by the Part. Parts can be fully, partially, or not opaque.
|
|
|
Sets the Part ID
|
|
||||||||||||||||
|
Sets the Part's position in its parent Part. Performs a call to SetBoundsInParent() with the new position.
|
|
||||||||||||
|
Sets whether or not this Part is Showing.
|
|
||||||||||||||||
|
Resizes this Part. Performs a call to SetBoundsInParent() with the new size.
|
|
||||||||||||||||||||
|
Sets the text style for the Part. This is not used by every Part, but for those that do, this determines the type of text to draw in the Part by default. You can either pass a defined ETextStyle (kUIFont_Medium for example) and null values for the following three parameters, or you can pass kUseTextStyle and then specify a custom text style using the following three parameters.
|
|
||||||||||||||||||||
|
SetValue is used to set a value associated with the Part.
|
|
|
Tells the Part's parent window to call this Part's ValidateCaches() method before the next UI redraw.
|
|
|
Sets whether or not the Part cares about visible regions - an advanced topic generally not required for normal UI work.
|
|
|
Sets the url associated with a part.
|
|
|
Swaps the orientation of the part
|
|
|
Converts a TMCRect from window to local coordinate space
|
|
|
Converts a TMCPoint from window to local coordinate space
|
1.4.5